package com.yicong.ants.manager;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.TextView;

import com.yicong.ants.R;

/**
 * 界面 助手方法
 *
 * @author cchao
 * @since 2019-12-26
 */
public class UiAssistant {
    public static TextView getAtyMenuText(Context context,String text) {
        TextView textView= (TextView) LayoutInflater.from(context).inflate(R.layout.menu_text, null);
        textView.setText(text);
        return textView;
    }
}
